/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.dal.dto;

import java.util.ArrayList;
import java.util.List;

import com.yanlight.app.model.PageModel;

/**
 * 
 * @author haolw
 * @time 2017/08/28
 */
public class OrderQuery extends PageModel {
	private List<Integer> companyIds;
	private List<Integer> operationIds;
	private List<Integer> payCodeIds;
	private List<String> openIds;
	private String sn;
	private String transactionNo;
	private Integer payType;
	private Integer status;
	private List<Integer> scenes;
	private String beginPayTime;
	private String endPayTime;

	public List<Integer> getCompanyIds() {
		return companyIds;
	}

	public void setCompanyIds(List<Integer> companyIds) {
		this.companyIds = companyIds;
	}

	public void addCompanyId(Integer companyId) {
		if (companyIds == null) {
			companyIds = new ArrayList<Integer>(8);
		}
		if (!companyIds.contains(companyId)) {
			companyIds.add(companyId);
		}
	}

	public List<Integer> getOperationIds() {
		return operationIds;
	}

	public void setOperationIds(List<Integer> operationIds) {
		this.operationIds = operationIds;
	}

	public void addOperationId(Integer operationId) {
		if (operationIds == null) {
			operationIds = new ArrayList<Integer>(8);
		}
		if (!operationIds.contains(operationId)) {
			operationIds.add(operationId);
		}
	}

	public List<Integer> getPayCodeIds() {
		return payCodeIds;
	}

	public void setPayCodeIds(List<Integer> payCodeIds) {
		this.payCodeIds = payCodeIds;
	}

	public void addPayCodeId(Integer payCodeId) {
		if (payCodeIds == null) {
			payCodeIds = new ArrayList<Integer>(8);
		}
		if (!payCodeIds.contains(payCodeId)) {
			payCodeIds.add(payCodeId);
		}
	}

	public List<String> getOpenIds() {
		return openIds;
	}

	public void setOpenIds(List<String> openIds) {
		this.openIds = openIds;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getTransactionNo() {
		return transactionNo;
	}

	public void setTransactionNo(String transactionNo) {
		this.transactionNo = transactionNo;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public List<Integer> getScenes() {
		return scenes;
	}

	public void setScenes(List<Integer> scenes) {
		this.scenes = scenes;
	}

	public void addScene(Integer scene) {
		if (scenes == null) {
			scenes = new ArrayList<Integer>(8);
		}
		if (!scenes.contains(scene)) {
			scenes.add(scene);
		}
	}

	public String getBeginPayTime() {
		return beginPayTime;
	}

	public void setBeginPayTime(String beginPayTime) {
		this.beginPayTime = beginPayTime;
	}

	public String getEndPayTime() {
		return endPayTime;
	}

	public void setEndPayTime(String endPayTime) {
		this.endPayTime = endPayTime;
	}

}
